﻿using System;
using System.ComponentModel.DataAnnotations;

namespace IoT3Week1.Domain
{


    public class Org
    {
        [Key]
        public int OId { get; set; } //部门的Id

        [StringLength(20)]
        [Required]
        public string OrgName { get; set; }  //部门名称

     

    }
}
